body{
    color:#333;
    background-color: #fff;
    min-width: 1226px;
    margin: 0;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.center{
    width: 1226px;
    margin: 0 auto;
}
/*-------nav--------------------------*/
nav{
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    color: #b0b0b0;
    background-color: #333;
}
nav .left{
    float: left;
}
nav .left li{
    padding-right: 15px;
}
nav .right{
    float: right;
}
nav .right li{
    padding-left: 15px;
}
nav .right section{
    display: flex;
    /*justify-content: center;*/
    align-items: center;
}
nav ul li{
    float: left;
}
nav li:hover{
    color: white;
    cursor: pointer;
}
/*------header-----------------------*/
header{
    height: 100px;
    color: #333;
    line-height: 100px;
    /*background-color: red;*/
}
header .gif{
    margin-top: 17px;
}
header a{
    color: #333;
    text-decoration: none;
}
header .left div{
    float: left;
    padding-right: 35px;
}
.jz{
    position: relative;
}
.left div:first-child img{
    width: 50px;
    margin-top: 25px;
}
.left ul li{
    float: left;
    padding-right: 15px;
}
header section{
    float: right;
}
section .right{
    float: right;
}
section input{
    width: 223px;height: 48px;
    padding-left: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
}
.soso{
    width: 48px;
    height: 48px;
    border: 1px solid #ccc;
    border-left: none;
    padding: 15px;
    box-sizing: border-box;
}
.section{
    display: flex;
    align-items: center;
    /*margin-top: -20px;*/
    position: absolute;
    top: 25px;
    right: 0;
}
/*-------banner----------------------*/
.center{
    position: relative;
}
.banner{    
    height: 460px;
}
#fsD1{
    position: absolute;
    top: 0;
    left: 0;
}
.focus .prev{
    position: absolute;
    left: 234px !important;
}
.center .main{
    width: 236px;
    height: 460px;
    background-color: #605853;
    opacity: 0.8;
    color: white; 
    box-sizing: border-box;
    /*display: flex;
    flex-direction: column ;
    justify-content: space-around;*/
    /*align-content:stretch;*/
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
}
.center .main li div{
    width: 234px;
    height: 42px;
    padding-left: 28px;
    padding-right: 28px;
    box-sizing: border-box;
    line-height: 42px;
}
.center .main li:first-of-type{
    margin-top: 20px;
}
.center .main a{
    color: white;
    text-decoration: none;
    font-size: 14px;
}
.center .main span{
    float: right;
}
.center .main li:hover{
    background-color: orangered;
    cursor: pointer;
}
/*-------figure--------------------*/
.banner2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}
.fig{
    width: 234px;
    height: 170px;
    background-color: #605853;
    color: white;
}
.fig ul{
    padding-top: 9px;
}
.fig ul li{
    float: left;
    padding-top: 5px; 
}
.fig li figure{
    width: 76px;
    height: 82px;
    margin: 0;
    text-align: center;
    font-size: 12px;
}
.img_b{
    width: 316px;
    height: 170px;
}
.img_b img{
    width: 100%;
    height: 100%;
}
/*小米明星单品*/
.mx{
    margin-top: 14px;
    margin-top: 25px;
}
h2{
    display: inline-block;
    font-weight: 100;
}
.d_p{
    width: 1226px;
    height: 57.6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.d_p div{
    border: 1px solid #ccc;
    border-radius: 2px;
}
.d_p div span{
    display: inline-block;
    width: 35.6px;
    height: 23.6px;
    text-align: center;
}
.d_p div span:hover{
    color: orangered;
}
.d_p div span:first-child{
    border-right: 1px solid #ccc;
}
.content .box{
    width: 234px;
    height: 340px;
    background-color: #fafafa;
}
.content .box span{
    display: block;
    text-align: center;
}
.content img{
    width: 160px;
    height: 160px;
    display: block;
    margin: 0 auto;
    padding-top: 35px;
}
.content .name{
    font-size: 14px;
    margin-top: 50px;
}
.content .count{
    font-size: 12px;
    color: #ccc;
    margin-top: 5px;
}
.box span:last-child{
    color: orangered;
    font-size: 14px; 
    margin-top: 5px;   
}
.clearfix{
    width: 1226px;
    height: 340px;
    overflow: hidden;
}
.clearfix li{
    float: left;
    display: flex;
    justify-content: space-between;
    align-content: center;
    position: relative;
    top: 0;
    left: 0;
}
.clearfix .current2{
    position: relative;
    top: -340px;
    left: 1240px;
}
.clearfix li .box{
    margin-right: 14px;
}
/*智能硬件*/
.f_right{
    float: right;
    margin-top: 25px;
}
.f_right:hover{
    cursor: pointer;
}
.f_right span:last-child{
    display: inline-block;
    width: 20px;height: 20px;
    border-radius: 50%;
    background-color: #b0b0b0;
    text-align: center;
    line-height: 20px;
    opacity: 0.8;
    color: white;
}
.top{
    margin-top: 40px;
}
.top .content .box{
    background-color: white;
    width: 234px;
    height: 300px;
}
.dw{    
    position: relative;
}
.top .content{
    width: 992px;
    height: 614px;
    position: absolute;
    top: -614px;
    left: 234px;
}
.top .content li .box{
    float: left;
    margin-left: 14px;       
    overflow: hidden;
}
.li_2 .box{
    margin-top: 14px;
}
.top .content .box img{
    margin-top: -10px;
}
.top .content .box .name{
    margin-top: 18px;
}
.pad_top{
    padding-top: 55px;
}
main{
    background-color: #f5f5f5 !important;
}
.yj{
    width: 234px;
    height: 614px;;
}
.yj img{
    width: 100%;
}
/*搭配*/
.dapei_top{
    margin-top: 10px;
}
.dp_top{
    margin-top: 15px;
}
/*推荐*/
.tj_dw{
    margin-top: -8px;
}
.tj_ul{
    width: 1226px;  
    height: 300px;
    text-align: center; 
    overflow: hidden;
}
.tj_ul .curr1{
    position: relative;
    top: 0;
    left: 0;
}
.tj_li2{
    position: relative;
    top: -314px;
    left: 1240px;

}
.tj_ul li{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tj_ul li .box{
    width: 234px;
    height: 300px;
    background-color: white;
    margin-top: 14px;
}
.tj_ul .box img{
    display: block;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    padding-top: 20px;
}
.tj_ul .box .name{
    display: block;
    font-size: 14px;
    margin-top: 30px;
}
.tj_ul .box .count{
    display: block;
    font-size: 12px;
    color: #ccc;
    margin-top: 5px;
}
.tj_ul .box span:last-child{
    display: block;
    color: orangered;
    font-size: 14px; 
    margin-top: 5px;  
}
/*热评*/
.r_p ul{
    width: 1226px;
    height: 415px;
}
.r_p ul li .box{
    width: 296px;
    height: 415px;
    text-align: left;    
}
.r_p ul .box img{
    width: 296px;
    height: 220px;
    padding: 0;
}
.r_p ul .box .name{
    padding: 5px 20px 0 20px;  
    font-size: 14px;  
}
.r_p ul .box .count{
    padding: 15px 20px 0 20px;    
}
.r_p ul .box .m{
    display: inline-block;
    padding: 10px 0 0 20px;
    font-size: 14px;
}
.r_p ul .box span:last-child{
    display: inline-block;
    font-size: 14px;
}
/*----------main--------ul--- */
.main_ul .f_right ul li{
    float: left;
    margin-left: 30px;
    
    position: relative;
}
/*视频*/
.s_p .tj_ul{
    width: 1226px;
    height: 285px;  
}
.s_p .tj_ul li{
    width: 296px;
    height: 285px;
}
.s_p .tj_ul li .box{
    width: 296px;
    height: 285px;
    margin-right: 14px;
    text-align: center; 
}
.s_p .tj_ul li .box img{
    width: 296px;
    height: 180px;
}
.s_p .tj_ul li .box .name{
    margin-top: 25px;
    font-size: 14px;
}
.s_p .tj_ul li .box .count{
    margin-top: -10px;
    font-size: 12px;
    color: #ccc;
}
.s_p section{
    display: block;
    width: 30px;
    height: 20px;
    line-height: 20px;
    background-color: #666;
    opacity: 0.9;
    border-radius: 10px;
    border: 2px solid white; 
    margin-left: 15px;
    margin-top: -103px;
    color: white;
}
.s_p section:hover{
    background-color: orangered;
    border-color: orangered;
    cursor: pointer;
}
/*内容*/
.n_r .tj_li #l_b{
    /*width: 888px;*/
}
.n_r .tj_li #l_b div{
    /*float: left;*/
}
.n_r .tj_li .box img{
    width: 216px;
    height: 154px;
}
.n_r .tj_li .box .first{
    display: block;
    margin-top: 40px;
    text-align: center;
}
.n_r .tj_li .box .r_h2{
    font-size: 20px;
    display: block;
    margin-top: 18px;
    text-align: center;
}
.n_r .tj_li .box .count{
    text-align: center;
    margin-top: -8px;
    display: block;
}
.n_r .tj_li .box .money{
    text-align: center;
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
}
.n_r .tj_li .box .oran{
    color: orange;
}
.n_r .tj_li .box .gree{
    color: lightgreen;
}
.n_r .tj_li .box .red{
    color: red;
}
.n_r .tj_li .box .blue{
    color: blue;
}
.n_r .tj_li .box .l_img{
    margin-top: 51px;
}
/*footer*/
footer a{
    color: #666;
}
footer{
    height: 240px;
}
footer .wx ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;

}
footer .wx ul li{
    float: left;
    width: 150px;
    height: 18px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14px;

}
footer .wx ul li a{
    text-decoration: none;
}
footer .wx ul li img{
    width: 24px;
    height: 24px;
    vertical-align: middle;
    padding-right: 5px;
}
.has{
    border-right: 1px solid #ccc;
}
/*help*/
footer .help ul{
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-top: 35px;
   width: 850px;
}
footer .help ul li{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
footer .help ul li span{
    padding-bottom: 10px;
    font-size: 14px;
}
footer .help ul li a{
    padding-top: 10px;
    font-size: 12px;
    text-decoration: none;
}
.last_li span:first-child{
    color: orangered;
    font-size: 20px;
}
.help .last_ul{
    float: right;
    width: 251px;
    display: flex;
    justify-content: center;
    margin-top: -105px;
    padding-left: 20px;
    border-left: 1px solid #ccc;
}
.help .last_ul .span2{
    font-size: 12px;
}
.help .last_ul .span3{
    font-size: 12px;
    margin-top: -5px;
}
.help .last_ul span:last-child{
    color: orangered;
    font-size: 12px;
    border: 1px solid orangered;
    padding: 5px 15px 5px 15px;
}
/*mi*/
.footer_bg{
    background-color: #f5f5f5; 
}
.footer_bg .logo img{
    width: 57px;
    height: 57px;
}
.footer_bg .center{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}
.footer_bg .center .ul ul{
    float: left;
    font-size: 12px;
    padding-left: 10px;
}
.footer_bg .center .ul ul:first-child{
    color: #666;
}
.footer_bg .center .ul ul li{
    float: left;
}
.footer_bg .center .img{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer_bg .center .img img{
    padding-left: 5px;
}
.font_color{
    color: #ccc;
}
.footer_bg .pleft li{
    padding: 0 2px 0 2px;
}
.footer_bg section{
    margin-top: 30px;
    text-align: center;
    color: #ccc;
    font-size: 20px;
    font-weight: 200;
    padding-bottom: 30px;
}
.block{
    background-color: orangered;
    width: 234px;
    height: 78px;
    z-index: 99;
    position: relative;
    bottom: -44px;
}
.block span{
    display: block;
    font-size: 12px;
    color: whitesmoke;
    padding: 10px 20px 5px 20px;
}
.block span:last-child{
    margin-top: -8px;
    color: orange;
    font-size: 12px;
}
/*shop*/
.nav .shop{
    position: absolute;
    top:40px;
    right: 0;
    width: 300px;
    height: 98px;
    line-height: 98px;
    text-align: center;
    color: #424242;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    opacity: 0;
    display: none;
    z-index: 222;
}
/*导航*/
.yishu{
    position: relative;
    z-index: 100;
}
.yishu .nav-list a:hover{
    color: #ff6700;
}
.yishu .nav-detail{
    width: 100%;
    height: 230px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.18);
    position: absolute;
    top: 100px;
    left: 0;
    display: none;
}
.yishu .nav-detail ul{
    display: none;
}
/*item*/
.menu{
    height: 460;
    position: absolute;
    top: 0;
    left: 0;
}
.menu-item{
    width: 234px;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.6)
}
.menu-item li a{
    display: block;
    height: 42px;
    line-height: 42px;
    padding-left: 30px;
    color: #fff;
    position: relative;
    font-size: 14px;
    text-decoration: none;
}

.menu-item li a::after {
  content: '';
  position: absolute;
  top: 16px;
  right: 20px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}
.clearfix{
    zoom: 1;
}
.clearfix::after{
    content: '';
    display: block;
    overflow: hidden;
    clear:both;
    height:0;
}
/*菜单*/
.menu-list{
    height: 460px;
    background-color: white;
    border: 1px solid #ccc;
    position: absolute;
    top: 0;
    left: 234px;
    display: none;
}
.menu-list ul{
    width: 265px;
    height: 460px;
    float: left;
}
.menu-list li a{
    display: inline-block;
    width: 190px;
    height: 76px;
    padding: 18px 20px;
    color: black;
}
.menu-list li a:hover{
    color: #ff6700;
}
.menu-list li img{
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 10px;
}
.menu-list li .name{
    display: inline-block;
    width: 90px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
}
.menu-list li .choose{
    display: inline-block;
    width: 60px;
    height: 24px;
    border: 1px solid #ff6700;
    text-align: center;
    line-height: 24px;
    color: #ff6700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.5s linear;
    margin-top: 25px;
    margin-left: -45px;
}
.menu-list li .choose:hover{
    background-color: #ff6700;
    color: white;
}
/*dh_over*/
.dh_over div{
    float: left;
    margin-right: 88px;
    text-align: center;    
}
.dh_over img{
    width: 100px;
    margin-top: 55px;
}
/*轮播*/

